package cn.yunhe.entity;

public class
Topic {
    private  int tid;
    private String title;
    private String context;
    private  String time;
    private  User user;
    private  Block block;
    private String tpic;
    private  int visittime;

    public Topic() {
    }

    public Topic(int tid) {
        this.tid = tid;
    }

    public Topic(int tid, String title) {
        this.tid = tid;
        this.title = title;
    }

    public Topic(int tid, String title, String context, Block block, String tpic) {
        this.tid = tid;
        this.title = title;
        this.context = context;
        this.block = block;
        this.tpic = tpic;
    }

    public Topic(int tid, String title, String context, String time, User user, Block block, String tpic, int visittime) {
        this.tid = tid;
        this.title = title;
        this.context = context;
        this.time = time;
        this.user = user;
        this.block = block;
        this.tpic = tpic;
        this.visittime = visittime;
    }

    public Topic(int tid, String title, String context, User user, Block block, String tpic) {
        this.tid = tid;
        this.title = title;
        this.context = context;
        this.user = user;
        this.block = block;
        this.tpic = tpic;
    }

    public Topic(int tid, String title, String context, String time, User user, Block block) {
        this.tid = tid;
        this.title = title;
        this.context = context;
        this.time = time;
        this.user = user;
        this.block = block;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Block getBlock() {
        return block;
    }

    public void setBlock(Block block) {
        this.block = block;
    }

    public String getTpic() {
        return tpic;
    }

    public void setTpic(String tpic) {
        this.tpic = tpic;
    }

    public int getVisittime() {
        return visittime;
    }

    public void setVisittime(int visittime) {
        this.visittime = visittime;
    }
}
